package com.woniu.service;

import com.woniu.pojo.Auth;

import java.util.List;

public interface AuthService {
    public List<Auth>findAuthByUserId(Integer userId,Integer parentId);

    List<Auth> findAll();

    int saveAuth(Auth auth);

    int updateAuth(Auth auth);

    int deleteAuth(Integer authId);
}
